package com.kingdee.eas.custom.aoyuan.aytime.bizbill;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.custom.aoyuan.aytime.AYAttenBillStatusEnum;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.framework.ICoreBillBase;

public interface IOTBill extends ICoreBillBase
{
    public OTBillCollection getOTBillCollection() throws BOSException;
    public OTBillCollection getOTBillCollection(EntityViewInfo view) throws BOSException;
    public OTBillCollection getOTBillCollection(String oql) throws BOSException;
    public OTBillInfo getOTBillInfo(IObjectPK pk) throws BOSException, EASBizException;
    public OTBillInfo getOTBillInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public OTBillInfo getOTBillInfo(String oql) throws BOSException, EASBizException;
    public void auditPass(OTBillInfo model) throws BOSException;
    public void auditFail(OTBillInfo model) throws BOSException;
    public void setAuditing(OTBillInfo model) throws BOSException;
    public void setStatus(String id, AYAttenBillStatusEnum newStatus) throws BOSException, EASBizException;
    public void closeBill(OTBillInfo model) throws BOSException;
}